Hm I do not know why you are inherit from Agentbase. This make no sense, but anyway it should work. Maybe you want to download a simple demo database of LS2J i have posted in a german notes forum. Download testls2j.nsf from this page and try.
http://217.160.137.156/yabbse/index.php?board=24;action=display;threadid=10070
Hope this helps
Greetings
Ralf